﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OliveAirLeakTest.MES
{
    public  class ReportWorkMessage
    {
        /// <summary>
        /// 设备编码
        /// </summary>
        [JsonProperty("equipmentCode")]
        public string EquipmentCode { get; set; }

        /// <summary>
        /// 产品码信息列表
        /// </summary>
        [JsonProperty("productSerialNumberInfoList")]
        public List<ProductSerialNumberInfoList> ProductSerialNumberInfoList { get; set; }

        /// <summary>
        /// 任务ID
        /// </summary>
        [JsonProperty("taskId")]
        public string TaskId { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        [JsonProperty("userId")]
        public long UserId { get; set; }

        public ReportWorkMessage()
        {
            ProductSerialNumberInfoList = new List<ProductSerialNumberInfoList>();
            EquipmentCode = string.Empty;
            TaskId = string.Empty;
        }
    }
}
